const operationLogService = require("@/server/operation_log");
const { successData, sendCode } = require("@/utils/r/result");

const operation_log = {
  async GetList(req, res) {
    successData(res, await operationLogService.GetList(req.query));
  },
  async Delete(req, res) {
    sendCode(res, await operationLogService.Delete(req.body));
  },
};
module.exports = operation_log;
